//
//  NSString+XYAdd.h
//  PeiJue
//
//  Created by lxy on 2017/9/26.
//  Copyright © 2017年 lixiya. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@interface NSString (XYAdd)

- (CGSize)xy_sizeForFont:(UIFont *)font size:(CGSize)size mode:(NSLineBreakMode)lineBreakMode;
- (CGFloat)xy_widthForFont:(UIFont *)font;
- (CGFloat)xy_heightForFont:(UIFont *)font width:(CGFloat)width;

@end
NS_ASSUME_NONNULL_END
